{% extends 'back/back_base.html' %}
{% from 'common/_macros.html' import static %}

{% block title %}
修改密码
{% endblock %}
{% block page_title %}
{{ self.title() }}
{% endblock %}

{% block head %}
{#    注意此处block head的用法   可以参考base文件，这个部位加载静态文件#}
    <link rel="stylesheet" href="{{ static('back/css/resetpwd.css') }}" >
    <script src="{{ static("back/js/resetpwd.js") }}"></script>
{% endblock %}

{% block main_content %}
    {#    划定范围，定义提交信息的内容与方法，后面submit将会把信息提交#}
    <form action="" method="post">
{#        注意理解 div  与  form的区别#}
         <div class="form-container">
            <div class="form-group">
                <div class="input-group">
                    <span class=" input-group-addon">旧密码</span>
                    {#                    type若为text，则输入密码时是可见的#}
                    <input type="password" class="form-control" name="oldpwd" placeholder="请输入旧密码">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class=" input-group-addon">新密码</span>
                    {#                    type若为text，则输入密码时是可见的#}
                    <input type="password" class="form-control" name="newpwd1" placeholder="请输入新密码">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class=" input-group-addon">新密码</span>
                    {#                    type若为text，则输入密码时是可见的#}
                    <input type="password" class="form-control" name="newpwd2" placeholder="确认密码">
                </div>
            </div>
            <div class="form-group">
                <button id="submit" class="btn btn-primary">确认提交</button>
            </div>
        </div>
    </form>
{% endblock %}